package com.qfedu.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class login {
    @RequestMapping("/login")
    public String login(String name, String pwd , Model model){
        model.addAttribute("name",name);
        model.addAttribute("pwd",pwd);
        return "success";
    }
}
